package com.lin.cms.domain;

import java.io.Serializable;
import java.util.Date;

public class Acquisition implements Serializable {

	private static final long serialVersionUID = 1L;

	private int acquisitionId;

	private int siteId;

	private int channelId;

	private int typeId;

	private int userId;

	private String acqName;

	private Date startTime;

	private Date endTime;

	private int status;

	private int currNum;

	private int currItem;

	private int totalItem;

	private int pauseTime;

	private String pageEncoding;

	private String planList;

	private String dynamicAddr;

	private int dynamicStart;

	private int dynamicEnd;

	private String linksetStart;

	private String linksetEnd;

	private String linkStart;

	private String linkEnd;

	private String titleStart;

	private String titleEnd;

	private String keywordsStart;

	private String keywordsEnd;

	private String descriptionStart;

	private String descriptionEnd;

	private String contentStart;

	private String contentEnd;

	private String paginationStart;

	private String paginationEnd;

	private int queue;

	private String repeatCheckType;

	public Acquisition() {
	}

	public int getAcquisitionId() {
		return acquisitionId;
	}

	public void setAcquisitionId(int acquisitionId) {
		this.acquisitionId = acquisitionId;
	}

	public int getSiteId() {
		return siteId;
	}

	public void setSiteId(int siteId) {
		this.siteId = siteId;
	}

	public int getChannelId() {
		return channelId;
	}

	public void setChannelId(int channelId) {
		this.channelId = channelId;
	}

	public int getTypeId() {
		return typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getAcqName() {
		return acqName;
	}

	public void setAcqName(String acqName) {
		this.acqName = acqName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getCurrNum() {
		return currNum;
	}

	public void setCurrNum(int currNum) {
		this.currNum = currNum;
	}

	public int getCurrItem() {
		return currItem;
	}

	public void setCurrItem(int currItem) {
		this.currItem = currItem;
	}

	public int getTotalItem() {
		return totalItem;
	}

	public void setTotalItem(int totalItem) {
		this.totalItem = totalItem;
	}

	public int getPauseTime() {
		return pauseTime;
	}

	public void setPauseTime(int pauseTime) {
		this.pauseTime = pauseTime;
	}

	public String getPageEncoding() {
		return pageEncoding;
	}

	public void setPageEncoding(String pageEncoding) {
		this.pageEncoding = pageEncoding;
	}

	public String getPlanList() {
		return planList;
	}

	public void setPlanList(String planList) {
		this.planList = planList;
	}

	public String getDynamicAddr() {
		return dynamicAddr;
	}

	public void setDynamicAddr(String dynamicAddr) {
		this.dynamicAddr = dynamicAddr;
	}

	public int getDynamicStart() {
		return dynamicStart;
	}

	public void setDynamicStart(int dynamicStart) {
		this.dynamicStart = dynamicStart;
	}

	public int getDynamicEnd() {
		return dynamicEnd;
	}

	public void setDynamicEnd(int dynamicEnd) {
		this.dynamicEnd = dynamicEnd;
	}

	public String getLinksetStart() {
		return linksetStart;
	}

	public void setLinksetStart(String linksetStart) {
		this.linksetStart = linksetStart;
	}

	public String getLinksetEnd() {
		return linksetEnd;
	}

	public void setLinksetEnd(String linksetEnd) {
		this.linksetEnd = linksetEnd;
	}

	public String getLinkStart() {
		return linkStart;
	}

	public void setLinkStart(String linkStart) {
		this.linkStart = linkStart;
	}

	public String getLinkEnd() {
		return linkEnd;
	}

	public void setLinkEnd(String linkEnd) {
		this.linkEnd = linkEnd;
	}

	public String getTitleStart() {
		return titleStart;
	}

	public void setTitleStart(String titleStart) {
		this.titleStart = titleStart;
	}

	public String getTitleEnd() {
		return titleEnd;
	}

	public void setTitleEnd(String titleEnd) {
		this.titleEnd = titleEnd;
	}

	public String getKeywordsStart() {
		return keywordsStart;
	}

	public void setKeywordsStart(String keywordsStart) {
		this.keywordsStart = keywordsStart;
	}

	public String getKeywordsEnd() {
		return keywordsEnd;
	}

	public void setKeywordsEnd(String keywordsEnd) {
		this.keywordsEnd = keywordsEnd;
	}

	public String getDescriptionStart() {
		return descriptionStart;
	}

	public void setDescriptionStart(String descriptionStart) {
		this.descriptionStart = descriptionStart;
	}

	public String getDescriptionEnd() {
		return descriptionEnd;
	}

	public void setDescriptionEnd(String descriptionEnd) {
		this.descriptionEnd = descriptionEnd;
	}

	public String getContentStart() {
		return contentStart;
	}

	public void setContentStart(String contentStart) {
		this.contentStart = contentStart;
	}

	public String getContentEnd() {
		return contentEnd;
	}

	public void setContentEnd(String contentEnd) {
		this.contentEnd = contentEnd;
	}

	public String getPaginationStart() {
		return paginationStart;
	}

	public void setPaginationStart(String paginationStart) {
		this.paginationStart = paginationStart;
	}

	public String getPaginationEnd() {
		return paginationEnd;
	}

	public void setPaginationEnd(String paginationEnd) {
		this.paginationEnd = paginationEnd;
	}

	public int getQueue() {
		return queue;
	}

	public void setQueue(int queue) {
		this.queue = queue;
	}

	public String getRepeatCheckType() {
		return repeatCheckType;
	}

	public void setRepeatCheckType(String repeatCheckType) {
		this.repeatCheckType = repeatCheckType;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + acquisitionId;

		return result;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final Acquisition other = (Acquisition) obj;
		if (acquisitionId != other.acquisitionId)
			return false;

		return true;
	}
	
	@Override
	public String toString() {
		return getClass().getName() + "@" + Integer.toHexString(hashCode()) + 
			"(" + 
			"acquisitionId=" + "'" + acquisitionId + "'" + 
			")";
	}
	
}
